using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DataAccess;
using Entities;
/// <summary>
/// Summary description for KhaNangDayBL
/// </summary>
namespace BusinessLogic 
{
    public class KhaNangDayBL 
    {
    	#region Private Variables
		KhaNangDayDAL objKhaNangDayDAL;
		#endregion
		
        #region Public Constructors
        public KhaNangDayBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objKhaNangDayDAL=new KhaNangDayDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(KhaNangDay objKhaNangDay)
        {
            return objKhaNangDayDAL.Insert(objKhaNangDay);
        }

        public int Update(KhaNangDay objKhaNangDay)
        {
             return objKhaNangDayDAL.Update(objKhaNangDay);

        }

        public int Delete(KhaNangDay objKhaNangDay)
        {
             return objKhaNangDayDAL.Delete(objKhaNangDay);

        }

         public int DeleteAll()
        {
             return objKhaNangDayDAL.DeleteAll();
        }

        public KhaNangDay Select(KhaNangDay objKhaNangDay)
        {
            return objKhaNangDayDAL.Select(objKhaNangDay);
        }

        public ArrayList SelectAllToArray( )
        {
         return objKhaNangDayDAL.SelectAllToArray();
        }
        
        public DataTable SelectAll( )
        {
         return objKhaNangDayDAL.SelectAll();
        }


     
#endregion          
    
    }

}
